<template>
  <div>
    <div class="recharge">
      <div class="top">
        <router-link tag="span" to="/userinfo" class="iconfont icon-houtui"></router-link>
        <p>充值</p>
      </div>
    </div>

    <div class="bg"></div>

    <div class="recharge_account">
      <p>充值账号</p>
      <p>书友20190903003714416</p>
    </div>

    <div class="bg"></div>
    <div class="recharge_lists">
      <div class="recharge_item">
        <i></i>
        <router-link tag="p" to="/recharge_Alipay">支付宝</router-link>
      </div>
      <div class="recharge_item">
        <i></i>
        <p>微信</p>
      </div>
      <div class="recharge_item">
        <i></i>
        <p>QQ钱包</p>
      </div>
      <div class="recharge_item">
        <i></i>
        <p>PayPal</p>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.recharge_item {
  padding: 0 15px;
  display: flex;
  align-items: center;
  i {
    display: block;
    background: url("https://sta.gtimg.com/yuewen/pay/images/h5/sprite.0.7.png")
      no-repeat;
    width: 32px;
    height: 32px;
    background-position: 0 -32px;
    background-size: 100%;
    margin: 15px 0;
  }
  p {
    padding: 15px 0;
    font-size: 14px;
    flex: 1;
    margin-left: 10px;
    border-bottom: 1px solid #cccccc;
  }
  &:nth-child(2) {
    i {
      background-position: 0 -290px;
    }
  }
  &:nth-child(3) {
    i {
      background-position: 0 -248px;
    }
  }
  &:nth-child(4) {
    i {
      background-position: 0 -206px;
    }
  }
}

.recharge_account {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.bg {
  width: 100%;
  height: 10px;
  background-color: #f7f7f7;
}

.recharge {
  .top {
    padding: 10px 15px;
    background: #fafafa;
    display: flex;
    span {
      color: #2e9de7;
      font-size: 18px;
    }
    p {
      flex: 1;
      color: #3d4145;
      font-size: 16px;
      text-align: center;
    }
  }
}
</style>
